package com.emm.yixun.mobile.model;

import java.util.ArrayList;

/**
 * 
 * <p><b>Title：</b> 查询房源列表接口</p>
 * <p><b>Description：</b> </p>
 * @author tangxin
 * @date 2016年12月9日 上午10:27:44
 */
public class GetHousesList {
	private String result;// 返回码
	private String errorCode;// 错误代码
	private String errorMsg;// 错误信息
	ArrayList<FlatMapList> flatMapList;
	ArrayList<PremisesList> premisesList;

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public ArrayList<FlatMapList> getFlatMapList() {
		return flatMapList;
	}

	public void setFlatMapList(ArrayList<FlatMapList> flatMapList) {
		this.flatMapList = flatMapList;
	}

	public ArrayList<PremisesList> getPremisesList() {
		return premisesList;
	}

	public void setPremisesList(ArrayList<PremisesList> premisesList) {
		this.premisesList = premisesList;
	}

	public static class FlatMapList {// （总平图列表） N/Y
		private String flatMapUrl;// 平图Url

		public String getFlatMapUrl() {
			return flatMapUrl;
		}

		public void setFlatMapUrl(String flatMapUrl) {
			this.flatMapUrl = flatMapUrl;
		}
	}

	public static class PremisesList {// （组团列表） N/Y
		private String premisesId;// 组团Id
		private String premisesName;// 组团名称
		private String soldNum;// 已售数量
		private String notSoldNum;// 未售数量

		ArrayList<BuildingList> buildingList;

		public ArrayList<BuildingList> getBuildingList() {
			return buildingList;
		}

		public void setBuildingList(ArrayList<BuildingList> buildingList) {
			this.buildingList = buildingList;
		}

		public String getPremisesId() {
			return premisesId;
		}

		public void setPremisesId(String premisesId) {
			this.premisesId = premisesId;
		}

		public String getPremisesName() {
			return premisesName;
		}

		public void setPremisesName(String premisesName) {
			this.premisesName = premisesName;
		}

		public String getSoldNum() {
			return soldNum;
		}

		public void setSoldNum(String soldNum) {
			this.soldNum = soldNum;
		}

		public String getNotSoldNum() {
			return notSoldNum;
		}

		public void setNotSoldNum(String notSoldNum) {
			this.notSoldNum = notSoldNum;
		}
	}

	public static class BuildingList {// （楼栋列表）
		private String premisesId;// 组团Id
		private String buildingId;// 楼栋Id
		private String buildingName;// 楼栋名称
		private String isSell;// 是否可售 String(1) 是否可售：0 否；1 是 N

		public String getIsSell() {
			return isSell;
		}

		public void setIsSell(String isSell) {
			this.isSell = isSell;
		}

		public String getPremisesId() {
			return premisesId;
		}

		public void setPremisesId(String premisesId) {
			this.premisesId = premisesId;
		}

		public String getBuildingId() {
			return buildingId;
		}

		public void setBuildingId(String buildingId) {
			this.buildingId = buildingId;
		}

		public String getBuildingName() {
			return buildingName;
		}

		public void setBuildingName(String buildingName) {
			this.buildingName = buildingName;
		}
	}
}
